<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js中的JSON</title>
</head>
<body>
    <script>
    // JSON字符串
    var jsonString = '{"name":"PGone"}'
    // 以对象形式存在的JSON文件的值
    var jsonObject = {
        "name":"PGone"
    }
    var jsonArray = [0,1,2,3,4]
    </script>
</body>
</html>